package com.zhijian.warehouse.manage.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 登录vo
 *
 * @author HCG
 * @version 1.0
 * @date 2021/7/6
 */
@Api(tags = "登录请求vo")
@Data
public class LoginVo implements Serializable {

    private static final long serialVersionUID = -3716049147958059444L;

    /**
     * 工号不能为空，登录用字段
     */
    @ApiModelProperty("工号不能为空，登录用字段")
    //@NotBlank(message = "工号不能为空")
    private String jobNumber;

    /**
     * 密码
     */
    @ApiModelProperty("密码")
    //@NotNull(message = "密码不能为空|password can't be null")
    private String password;

    @ApiModelProperty("二维码")
    private String qrcode;

}
